import React from "react";
import {Button, DatePicker, version} from "antd";
import {ButtonSize} from "./ant/ButtonSize";
import {Icons} from "./ant/Icons";

function Ant() {
    return (
        <div className="App">
            <h1>antd version: {version}</h1>
            <DatePicker/>
            <Button type="primary" style={{marginLeft: 8}}>
                Primary Button
            </Button>
            <div>
                <Button type="primary">Primary Button</Button>
                <Button>Default Button</Button>
                <Button type="dashed">Dashed Button</Button>
                <br/>
                <Button type="text">Text Button</Button>
                <Button type="link">Link Button</Button>
            </div>
            <div>
                <ButtonSize/>
                <Icons/>
            </div>
        </div>
    );
}

export default Ant;
